#define ONFRONTCONNECTED 0
#define ONFRONTDISCONNECTED 1
#define ONHEARTBEATWARNING 2
#define ONRSPAUTHENTICATE 3
#define ONRSPUSERLOGIN 4
#define ONRSPUSERLOGOUT 5
#define ONRSPUSERPASSWORDUPDATE 6
#define ONRSPTRADINGACCOUNTPASSWORDUPDATE 7
#define ONRSPUSERAUTHMETHOD 8
#define ONRSPGENUSERCAPTCHA 9
#define ONRSPGENUSERTEXT 10
#define ONRSPORDERINSERT 11
#define ONRSPPARKEDORDERINSERT 12
#define ONRSPPARKEDORDERACTION 13
#define ONRSPORDERACTION 14
#define ONRSPQRYMAXORDERVOLUME 15
#define ONRSPSETTLEMENTINFOCONFIRM 16
#define ONRSPREMOVEPARKEDORDER 17
#define ONRSPREMOVEPARKEDORDERACTION 18
#define ONRSPEXECORDERINSERT 19
#define ONRSPEXECORDERACTION 20
#define ONRSPFORQUOTEINSERT 21
#define ONRSPQUOTEINSERT 22
#define ONRSPQUOTEACTION 23
#define ONRSPBATCHORDERACTION 24
#define ONRSPOPTIONSELFCLOSEINSERT 25
#define ONRSPOPTIONSELFCLOSEACTION 26
#define ONRSPCOMBACTIONINSERT 27
#define ONRSPQRYORDER 28
#define ONRSPQRYTRADE 29
#define ONRSPQRYINVESTORPOSITION 30
#define ONRSPQRYTRADINGACCOUNT 31
#define ONRSPQRYINVESTOR 32
#define ONRSPQRYTRADINGCODE 33
#define ONRSPQRYINSTRUMENTMARGINRATE 34
#define ONRSPQRYINSTRUMENTCOMMISSIONRATE 35
#define ONRSPQRYUSERSESSION 36
#define ONRSPQRYEXCHANGE 37
#define ONRSPQRYPRODUCT 38
#define ONRSPQRYINSTRUMENT 39
#define ONRSPQRYDEPTHMARKETDATA 40
#define ONRSPQRYTRADEROFFER 41
#define ONRSPQRYSETTLEMENTINFO 42
#define ONRSPQRYTRANSFERBANK 43
#define ONRSPQRYINVESTORPOSITIONDETAIL 44
#define ONRSPQRYNOTICE 45
#define ONRSPQRYSETTLEMENTINFOCONFIRM 46
#define ONRSPQRYINVESTORPOSITIONCOMBINEDETAIL 47
#define ONRSPQRYCFMMCTRADINGACCOUNTKEY 48
#define ONRSPQRYEWARRANTOFFSET 49
#define ONRSPQRYINVESTORPRODUCTGROUPMARGIN 50
#define ONRSPQRYEXCHANGEMARGINRATE 51
#define ONRSPQRYEXCHANGEMARGINRATEADJUST 52
#define ONRSPQRYEXCHANGERATE 53
#define ONRSPQRYSECAGENTACIDMAP 54
#define ONRSPQRYPRODUCTEXCHRATE 55
#define ONRSPQRYPRODUCTGROUP 56
#define ONRSPQRYMMINSTRUMENTCOMMISSIONRATE 57
#define ONRSPQRYMMOPTIONINSTRCOMMRATE 58
#define ONRSPQRYINSTRUMENTORDERCOMMRATE 59
#define ONRSPQRYSECAGENTTRADINGACCOUNT 60
#define ONRSPQRYSECAGENTCHECKMODE 61
#define ONRSPQRYSECAGENTTRADEINFO 62
#define ONRSPQRYOPTIONINSTRTRADECOST 63
#define ONRSPQRYOPTIONINSTRCOMMRATE 64
#define ONRSPQRYEXECORDER 65
#define ONRSPQRYFORQUOTE 66
#define ONRSPQRYQUOTE 67
#define ONRSPQRYOPTIONSELFCLOSE 68
#define ONRSPQRYINVESTUNIT 69
#define ONRSPQRYCOMBINSTRUMENTGUARD 70
#define ONRSPQRYCOMBACTION 71
#define ONRSPQRYTRANSFERSERIAL 72
#define ONRSPQRYACCOUNTREGISTER 73
#define ONRSPERROR 74
#define ONRTNORDER 75
#define ONRTNTRADE 76
#define ONERRRTNORDERINSERT 77
#define ONERRRTNORDERACTION 78
#define ONRTNINSTRUMENTSTATUS 79
#define ONRTNBULLETIN 80
#define ONRTNTRADINGNOTICE 81
#define ONRTNERRORCONDITIONALORDER 82
#define ONRTNEXECORDER 83
#define ONERRRTNEXECORDERINSERT 84
#define ONERRRTNEXECORDERACTION 85
#define ONERRRTNFORQUOTEINSERT 86
#define ONRTNQUOTE 87
#define ONERRRTNQUOTEINSERT 88
#define ONERRRTNQUOTEACTION 89
#define ONRTNFORQUOTERSP 90
#define ONRTNCFMMCTRADINGACCOUNTTOKEN 91
#define ONERRRTNBATCHORDERACTION 92
#define ONRTNOPTIONSELFCLOSE 93
#define ONERRRTNOPTIONSELFCLOSEINSERT 94
#define ONERRRTNOPTIONSELFCLOSEACTION 95
#define ONRTNCOMBACTION 96
#define ONERRRTNCOMBACTIONINSERT 97
#define ONRSPQRYCONTRACTBANK 98
#define ONRSPQRYPARKEDORDER 99
#define ONRSPQRYPARKEDORDERACTION 100
#define ONRSPQRYTRADINGNOTICE 101
#define ONRSPQRYBROKERTRADINGPARAMS 102
#define ONRSPQRYBROKERTRADINGALGOS 103
#define ONRSPQUERYCFMMCTRADINGACCOUNTTOKEN 104
#define ONRTNFROMBANKTOFUTUREBYBANK 105
#define ONRTNFROMFUTURETOBANKBYBANK 106
#define ONRTNREPEALFROMBANKTOFUTUREBYBANK 107
#define ONRTNREPEALFROMFUTURETOBANKBYBANK 108
#define ONRTNFROMBANKTOFUTUREBYFUTURE 109
#define ONRTNFROMFUTURETOBANKBYFUTURE 110
#define ONRTNREPEALFROMBANKTOFUTUREBYFUTUREMANUAL 111
#define ONRTNREPEALFROMFUTURETOBANKBYFUTUREMANUAL 112
#define ONRTNQUERYBANKBALANCEBYFUTURE 113
#define ONERRRTNBANKTOFUTUREBYFUTURE 114
#define ONERRRTNFUTURETOBANKBYFUTURE 115
#define ONERRRTNREPEALBANKTOFUTUREBYFUTUREMANUAL 116
#define ONERRRTNREPEALFUTURETOBANKBYFUTUREMANUAL 117
#define ONERRRTNQUERYBANKBALANCEBYFUTURE 118
#define ONRTNREPEALFROMBANKTOFUTUREBYFUTURE 119
#define ONRTNREPEALFROMFUTURETOBANKBYFUTURE 120
#define ONRSPFROMBANKTOFUTUREBYFUTURE 121
#define ONRSPFROMFUTURETOBANKBYFUTURE 122
#define ONRSPQUERYBANKACCOUNTMONEYBYFUTURE 123
#define ONRTNOPENACCOUNTBYBANK 124
#define ONRTNCANCELACCOUNTBYBANK 125
#define ONRTNCHANGEACCOUNTBYBANK 126
#define ONRSPQRYCLASSIFIEDINSTRUMENT 127
#define ONRSPQRYCOMBPROMOTIONPARAM 128
#define ONRSPQRYRISKSETTLEINVSTPOSITION 129
#define ONRSPQRYRISKSETTLEPRODUCTSTATUS 130
#define ONRSPQRYSPBMFUTUREPARAMETER 131
#define ONRSPQRYSPBMOPTIONPARAMETER 132
#define ONRSPQRYSPBMINTRAPARAMETER 133
#define ONRSPQRYSPBMINTERPARAMETER 134
#define ONRSPQRYSPBMPORTFDEFINITION 135
#define ONRSPQRYSPBMINVESTORPORTFDEF 136
#define ONRSPQRYINVESTORPORTFMARGINRATIO 137
#define ONRSPQRYINVESTORPRODSPBMDETAIL 138
#define ONRSPQRYINVESTORCOMMODITYSPMMMARGIN 139
#define ONRSPQRYINVESTORCOMMODITYGROUPSPMMMARGIN 140
#define ONRSPQRYSPMMINSTPARAM 141
#define ONRSPQRYSPMMPRODUCTPARAM 142
#define ONRSPQRYSPBMADDONINTERPARAMETER 143
#define ONRSPQRYRCAMSCOMBPRODUCTINFO 144
#define ONRSPQRYRCAMSINSTRPARAMETER 145
#define ONRSPQRYRCAMSINTRAPARAMETER 146
#define ONRSPQRYRCAMSINTERPARAMETER 147
#define ONRSPQRYRCAMSSHORTOPTADJUSTPARAM 148
#define ONRSPQRYRCAMSINVESTORCOMBPOSITION 149
#define ONRSPQRYINVESTORPRODRCAMSMARGIN 150
#define ONRSPQRYRULEINSTRPARAMETER 151
#define ONRSPQRYRULEINTRAPARAMETER 152
#define ONRSPQRYRULEINTERPARAMETER 153
#define ONRSPQRYINVESTORPRODRULEMARGIN 154
#define ONRSPQRYINVESTORPORTFSETTING 155
#define ONRSPQRYINVESTORINFOCOMMREC 156
#define ONRSPQRYCOMBLEG 157
#define ONRSPOFFSETSETTING 158
#define ONRSPCANCELOFFSETSETTING 159
#define ONRTNOFFSETSETTING 160
#define ONERRRTNOFFSETSETTING 161
#define ONERRRTNCANCELOFFSETSETTING 162
#define ONRSPQRYOFFSETSETTING 163
